{include file="admin/includes/header.tpl"}

<h1>Editing {$tablename}</h1>
{print_q}

<form action="{$smarty.server.PHP_SELF}" method="post">
  <input type="hidden" name="_required[]" value="tablename" />
  <input type="hidden" name="num_columns" id="num_columns" value="{$num_columns|default:1}" />
  
  {assign var='mode' value='Edit'}
  {include file="admin/pages/table_editor/tableform.tpl"}  

<div id="debug"></div>

{include file="admin/includes/footer.tpl"}